function process(pCell, top, left, id){
	var thisCell = document.getElementById(id);
	thisCell.top = top;
	thisCell.left = left;
	thisCell.leave = pCell.leave + 1;
	
	var w,h = 0;
	var cTop = top + 1;
	var cLeft = left;
	var childs = {};
	for(var i = 0 ;i<childs.length ;i++){
		var wh = process(thisCell,cTop,cLeft,childs[i]);
		if(wh[1] > h ){
			h = wh[1];
		}
		cLeft += wh[0];
	}
	pCell.childs.push(thisCell);
	return [w,h];
}



